<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <meta name="csrf_token" id="token" content="{{ csrf_token() }}">
    @include('public.h5_head')
    <title>求货列表</title>
    <script src="{{ env('CDN_DOMAIN_NAME') }}/js/commonjs/rem.js"></script>
    <link href="{{env('CDN_DOMAIN_NAME')}}/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="{{ env('CDN_DOMAIN_NAME') }}/css/commoncss/common.css"/>
    <link rel="stylesheet" type="text/css" href="{{ env('CDN_DOMAIN_NAME') }}/css/Progoods.css?v=1.0.7"/>
</head>
<script src="{{ env('CDN_DOMAIN_NAME') }}/js/commonjs/4.2.5iscroll.js"></script>
<script src="{{ env('CDN_DOMAIN_NAME') }}/js/app.js"></script>
<body>
<div id="box_goods">
    <div class="wrap" id="#wrapper">
        <div class="goodsOne">
            <ul class="goods_ul">
                @if(count($infos)>0)
                    @foreach ($infos as $k => $v)
                        <li class="goods_li" onclick="window.location.href='/customer/product-details?id={{$v->id}}'">
                            <div class="goods_icon">
                                <img src="/img/00004.png" />
                                <span class="brands">{{$brands[$v->brand_id]}}</span>
                                <span class="times">{{$v->created_at}}</span>
                            </div>
                            <div class="goods_bottom">
                                <div class="goods_pic">
                                    <img src="{{ env('CDN_DOMAIN_NAME') }}/upload/{{$v->face}}" />
                                </div>
                                <div class="goods_tit">【{{$v->title}}】</div>
                                <div class="goods_card">款号：{{$v->girard}}</div>
                                <span class="goods_size">地址：{{$v->area_address}}</span>
                            </div>
                        </li>
                    @endforeach
                @else
                    <div class="lis_em">
                        <div class="no_em">
                            <div class="no_img">
                                <img src="/img/00013.png">
                            </div>
                        </div>
                        <p class="lis_wrods">求货列表为空</p>
                    </div>
                @endif
            </ul>
            {{--加载--}}
            <div class="more" abc="">
                <div class="more_center">
                    <i class="pull_icon"></i><span>上拉加载...</span>
                </div>
            </div>
        </div>
    </div>
    <ul class="navbar">
        <a href="/customer/goods-storage"><li class="nav_li"><i class="fa fa-tasks"></i>库存</li></a>
        <a href="javascript:;"><li class="nav_li on"><i class="fa fa-pencil-square-o"></i>求货</li></a>
        <a href="/customer/sale-storage"><li class="nav_li"><i class="fa fa-file-o"></i>去库存</li></a>
        <a href="/customer/own"><li class="nav_li"><i class="fa fa-reorder"></i>我的</li></a>
    </ul>

    <div class="seek"><img src="/img/sousuo.png"></div>
    <div class="provider">
        <form action="" method="get">
            <div class="pro_top">
                <div class="shut"><img src="/img/zuojiantou.png"></div>
                <span>搜索条件</span>
            </div>
            <div class="pro_center">
                <div class="cen_div">
                    <p class="pro_tit">款号</p>
                    <input type="text" maxlength="15" class="cards" name="girard" placeholder="请输入要搜索的款号">
                </div>
                <div class="cen_div">
                    <p class="pro_tit">品牌</p>
                    <select class="Brand" name="brand_id">
                        <option value="">请选择</option>
                        @foreach ($brands as $k => $v)
                            <option value="{{$k}}">{{$v}}</option>
                        @endforeach
                    </select>
                </div>
                <div class="cen_div">
                    <p class="pro_tit">省</p>
                    <select class="Prov" name="area_code">
                        <option value="">请选择</option>
                        @foreach ($area_code as $k => $v)
                            <option value="{{$v->area_bh}}">{{$v->area_name}}</option>
                        @endforeach
                    </select>
                </div>
            </div>
            <div class="pro_bottom">
                <button class="pro_a">搜索</button>
            </div>
        </form>
    </div>
    <div class="tip_hide" style="display: none;"></div>
    <div class="mask" style="display:none;"></div>
</div>
</body>
<script>
    var path = '{{ env('CDN_DOMAIN_NAME') }}';
</script>
<script src="{{ env('CDN_DOMAIN_NAME') }}/js/supplier.js?v=1.0.1"></script>
</html>
